package com.objetdirect.gwt.umldrawer.shared.services;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.objetdirect.gwt.umldrawer.shared.dto.MessagesDto;

@RemoteServiceRelativePath("springGwtServices/messageService")
public interface MessagesService extends RemoteService {

	public void sendMessage(String sender, String reciever, String topic, String body)
			throws Exception;
	
	public List<MessagesDto> getMessages(String developerEmail) throws Exception;

}
